{extend name="public/base" /}
{block name="style"}{/block}
{block name="body"}
<section class="content-header">
  <h1>
    排污口管理
    <small>企业排污口列表</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="{:url('/')}"><i class="fa fa-dashboard"></i> 面板</a></li>
    <li class="active">排污口管理</li>
  </ol>
</section>
<section class="content">
      <div class="box">
        <div class="box-header">
        <a href="{:url('outfall_add')}" class="btn btn-success"><i class="fa fa-plus"></i>添加排污口</a>
        </div>
        <!-- /.box-header -->
        <div class="box-body no-padding">
          <table class="table table-striped">
            <tbody><tr>
              <th>ID</th>
              <th>名称</th>
              <th>所属企业</th>
              <th>涉污产品</th>
              <th>位置</th>
              <th>涉及产品</th>
              <th>日产量</th>
              <th>日排放量</th>
              <th>是否达标</th>
              <th>操作</th>
            </tr>
            <tr>
              {volist name="list" id="item"}
              <td>{$item.id}</td>
              <td>{$item.name}</td>
              <td>{$item.attach}</td>
              <td>{$item.location}</td>
              <td>{$item.type}</td>
              <td>{$item.daily_output}</td>
              <td>{$item.daily_discharge}</td>
              <td>{$item.is_standard}</td>
              <td>
                <a href="{:url('outfall_show',['id'=>$item['id']])}" class="btn btn-success btn-xs"><i class="fa fa-edit"></i>详情</a>
	              <a href="{:url('outfall_edit',['id'=>$item['id']])}" class="btn btn-info btn-xs"><i class="fa fa-edit"></i>编辑</a>
	              <a href="{:url('outfall_delete',['id'=>$item['id']])}" class="btn btn-danger btn-xs"><i class="fa fa-trash"></i>删除</a>
              </td>
            </tr>
             {/volist}
          </tbody></table>
        </div>
        <div class="box-footer ">
         {$list->render()}
        </div>
        <!-- /.box-body -->
      </div>
</section>
{/block}
{block name="scripts"}{/block}
